package com.wzy.business.store.main.bean

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "shop_status")
data class  ShopStatus(
    @ColumnInfo(name = "phone")
    var phone: String,
    //true表示已经设置了，false为没有设置
    //营业时间
    @ColumnInfo(name ="have_opentime")
    var have_opentime: Boolean? = false,

    //店铺logo
    @ColumnInfo(name ="have_shoplogo")
    var have_shoplogo: Boolean? = false,

    //联系电话
    @ColumnInfo(name ="have_mobile")
    var have_mobile: Boolean?= false ,

    @ColumnInfo(name ="shop_staus")
    var shopStatus: String? = null,
    //店铺当前状态对应的原因
    @ColumnInfo(name ="status_reason")
    var statusReason: String?= null,
    @ColumnInfo(name ="open_status")
    var openStatus: Int?= null,
    // 返回店铺配置的模板ID, 0表示没有配置模板
    @ColumnInfo(name ="template_id")
    var templateId: Int? = 0,
    // 店铺是否配置分类, true表示已经配置了分类
    @ColumnInfo(name ="have_category")
    var haveCategory: Boolean? = false,
    // 是否显示提现
    @ColumnInfo(name ="show_button")
    var showButton: Int? = 0,
    // 审核失败原因
    @ColumnInfo(name ="remark")
    var remark: String = "",

    @ColumnInfo(name ="auto_print")
    var autoPrint: Int? = 0
){

    @PrimaryKey(autoGenerate = true)
    var id: Int = 0
}
